package org.yaac.shared.stat.models;

import java.util.Date;

import org.yaac.shared.stat.StatConstants;

import com.googlecode.objectify.annotation.Entity;

/**
 * @author Max Zhu (thebbsky@gmail.com)
 * 
 * id is useless, same as kind name
 */
@Entity(name=StatConstants.STAT_KIND_ISROOTENTITY)
public class KindIsRootEntity extends BaseStat {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String kind_name;

	/**
	 * 
	 */
	protected KindIsRootEntity(){}
	
	/**
	 * @param bytes
	 * @param count
	 * @param timestamp
	 * @param kind_name
	 */
	public KindIsRootEntity(Long bytes, Long count, Date timestamp, String kind_name) {
		super(bytes, count, timestamp);
		this.kind_name = kind_name;
	}
	
	public String getKind_name() {
		return kind_name;
	}
}
